﻿namespace Yaaf.WP7.NativeAccess.ComWrapper.HTC.COM_FileRw
{
    using System.Runtime.InteropServices;

    [ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("4E0377B5-68C0-4885-B63D-3D5240E665EE")]
    internal interface IHTCFileAccess
    {
        void IsFileExist(string A_0, out uint A_1, out uint A_2);
        void GetFileSize(string A_0, out uint A_1, out uint A_2);
        void ReadFile(string A_0, ref byte A_1, uint A_2, out uint A_3);
        void WriteFile(string A_0, ref byte A_1, uint A_2, uint A_3, out uint A_4);
        void CopyFile(string A_0, string A_1, uint A_2, out uint A_3);
        void DeleteFile(string A_0, out uint A_1);
        void GetAllFileCounts(string A_0, string A_1, out uint A_2, out uint A_3);
        void GetAllFileNames(string A_0, string A_1, ref byte A_2, uint A_3, out uint A_4);
        void Init(out uint A_0);
        void Deinit(out uint A_0);
    }
}

